public class App {
    public static void main(String[] args) throws Exception {
        System.out.println("Hello, World!");
        Seller seller=new Seller(5);
        Customer customer1=new Customer("王大拿", 20, seller);
        Customer customer2=new Customer("谢大脚", 10, seller);
        Customer customer3=new Customer("赵四", 5, seller);
        Thread thread1=new Thread(customer1);
        Thread thread2=new Thread(customer2);
        Thread thread3=new Thread(customer3);
        thread1.setPriority(1);
        thread2.setPriority(2);
        thread3.setPriority(3);
        thread1.start();
        thread2.start();
        thread3.start();
    }
}
